home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
RELIGION
/
CSB.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-01-20
|
3KB
|
85 lines
echo off
cls
if "%1" == "" goto err1
if "%2" == "" goto err1
if "%1" == "%2" goto err1
if "%2" == "A:" goto floppy
if "%2" == "B:" goto floppy
if "%2" == "a:" goto floppy
if "%2" == "b:" goto floppy
%2
cd \
md \CSB
cd CSB
%1
cd \CSB
CSB %2\CSB
cd \
prompt=$p$g
%2
prompt=$p$g
cls
echo You are now in the %2\CSB subdirectory.
echo Enter this command to start the program: MENU
echo .
echo .
echo To view the manual enter: MANUAL
echo .
echo .
echo To print CSB.DOC you must put the printer in 17cpi mode.
echo (This will allow sample reports to print without wrapping)
echo Enter....."TYPE CSB.DOC > PRN" (Without the quotes)
goto end
:floppy
cd \CSB
cls
CSB_PRG %2\
CLS
echo Remove the disk in drive %2 and label it STARTUP DISK.
echo Then insert another formatted floppy disk drive %2.
Pause
CSB_DOC %2\
CD \
%2
cls
echo Installation Complete.
echo .
echo To print CSB.DOC you must put the printer in 17cpi mode.
echo (This will allow sample reports to print without wrapping)
echo Enter....."TYPE CSB.DOC > PRN" (Without the quotes)
echo Remove the disk in drive %2 and label it CSB MANUAL
echo .
echo .
echo Before starting the program, have a blank formatted DATA disk
echo available. Upon arriving at the main menu, you need to select
echo the UTILITY option called: USE DATA ON DRIVE A: or B:
echo .
echo .
echo To start the program, insert the STARTUP disk in drive A or B
echo and enter: MENU
goto end
:err1
cls
echo You entered the wrong command to install CSB
echo ╔══════════════════════════════════════════════════════════╗
echo ║ To Install, log on to the drive containing ║
echo ║ the Program diskette and type: INSTALL from: to: ║
echo ║ ║
echo ║ "from:" is the floppy drive letter of the ║
echo ║ Church Shareware Budget Disk ║
echo ║ "to:" is the drive letter where CSB will be ║
echo ║ installed. ║
echo ║ ║
echo ║ Copyright 1991 By Cedric Fairweather ║
echo ║ ║
echo ║ For example, INSTALL A: C: ║
echo ╚══════════════════════════════════════════════════════════╝
echo
goto end
:end
echo on